package com.tongcao.cn.validator.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Author:tongcao
 * @Date:2019/4/26 15:30
 * Description:接口注解，用于ValidatorAspect 对有使用此注解的接口进行拦截
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface Validator {

    Check[] value() default {};
}
